<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
    <div class="nav">
        <div class="return">
            <a href='<yjd:url url="/commodit/list"/>'>返回上一级</a>
        </div>
    </div>
    <form >
        <div class="table_full">
            <table width="100%">
                <tr>
                    <th width="100">商品名称</th>
                    <td>${commodit.project_name}</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>商品图片</th>
                    <td><img id="project_pic" src="${commodit.strMap.picUrl}" /></td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>类目</th>
                    <td>${commodit.strMap.category}</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>商品详情</th><td>${commodit.intro}</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>售价</th>
                    <td>${commodit.project_price} 元</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>服务次数</th>
                    <td>${commodit.times} 次</td>
                    <td><div class="fun_tips"></div></td>
                </tr>
                <tr>
                    <th>服务时长</th>
                    <td>${commodit.time_limit} 个月</td>
                </tr>
                <tr>
                    <th>审核状态</th>
                    <td>
                        <c:if test="${commodit.status==0}">待审核</c:if>
                        <c:if test="${commodit.status==1}">审核通过</c:if>
                        <c:if test="${commodit.status==2}">审核拒绝</c:if>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
